﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace OneCard.Face8280Module.Entities.DbModels
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("HTTP8280SyncTable")]
    public class HTTP8280SyncTable
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "SyncID", IsPrimaryKey = true, IsIdentity = true)]
        public long SyncID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "EquptID")]
        public int EquptID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "PersonnelID")]
        public int PersonnelID { get; set; }
        /// <summary>
        ///  同步类型
        /// 1、 设备属性变更
        /// 2、 删除设备
        /// 3、 添加/修改人员
        /// 4、 删除人员
        /// 5、 设备权限变更
        ///</summary>
        [SugarColumn(ColumnName = "SyncType")]
        public int SyncType { get; set; }
        /// <summary>
        ///  
        /// 记录创建时间
        ///</summary>
        [SugarColumn(ColumnName = "InsertTime")]
        public DateTime InsertTime { get; set; }
    }
}
